﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 设计模式之禅
{
    public class Singleton
    {
        private static readonly Singleton _singleton = new Singleton();
        private Singleton()
        { }

        public static Singleton GetSingleton()
        {
            return _singleton;
        }
    }
}
